<?php

class Mac_Form_Validator_File_MultiExtensions extends Mac_Form_Validator_File_Abstract
{
    public function isValid()
    {
        return !(preg_match("/(\.[a-z0-9]{2,4}){2,}$/i", $this->upload[Mac_Form_Validator_File_Abstract::FILENAME]));
    }
}